/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package sasp_messages;

import java.util.logging.Level;
import java.util.logging.Logger;
import org.json.JSONException;
import org.json.JSONObject;

/**
 *
 * @author mauriello
 */
public class ACKReply extends SASPReply {
    public ACKReply( ) {
        super( );
        this.setType(ACK);
    }

    public ACKReply( int _o, int _d, int _r ) {
        super( _o, _d, _r );
        this.setType(ACK);
        this.setReplyBody(new JSONObject());
    }

    public ACKReply( String _s ) {
        super( _s );
        saspmanager.SASPManagerApp.addLine("RPL - Ack Reply Received");
    }

    @Override
    public void updateReplyBody() {
        this.setReplyBody(new JSONObject());
    }
}
